package us.wili.dev.common.util.qcloud.cos;

/**
 * Created by JasonY on 17/6/7.
 */
public class QcloudCosProperties {

    protected long expireSeconds = 3600L;

    private long appId;
    private String secretId;
    private String secretKey;
    private String bucket;
    private Boolean ifPublic;
    private String region;
    private String host;

    public QcloudCosProperties() {}

    public QcloudCosProperties(long appId, String secretId, String secretKey, String bucket, Boolean ifPublic, String region) {
        this.appId = appId;
        this.secretId = secretId;
        this.secretKey = secretKey;
        this.bucket = bucket;
        this.ifPublic = ifPublic;
        this.region = region;
    }

    public long getExpireSeconds() {
        return expireSeconds;
    }

    public void setExpireSeconds(long expireSeconds) {
        this.expireSeconds = expireSeconds;
    }

    public long getAppId() {
        return appId;
    }

    public void setAppId(long appId) {
        this.appId = appId;
    }

    public String getSecretId() {
        return secretId;
    }

    public void setSecretId(String secretId) {
        this.secretId = secretId;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getBucket() {
        return bucket;
    }

    public void setBucket(String bucket) {
        this.bucket = bucket;
    }

    public Boolean getIfPublic() {
        return ifPublic;
    }

    public void setIfPublic(Boolean ifPublic) {
        this.ifPublic = ifPublic;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }
}
